/// <reference path="jquery-1.10.2.min.js" />
/// <reference path="jquery-ui-1.10.3.custom.min.js" />
/// <reference path="../css/bootstrap/js/bootstrap.min.js" />

$(document).ready(function () {
    $("#location").change(function () {
        var src = $(this).val();
        //alert(src);
        if (src == "PIC3F.png") {
            $("#seatmapDiv").html(src ? "<img  alt='seatmap' class='img-rounded' id='imgSeatmap' src='../images/" + src + "'>" : "");
        }
    });

    $("#btn-search").click(function () {
        window.location = "search-result.html";
    });

    $("#floor").change(function () {
        var src = $(this).val();
        //alert(src);
        $("#seatmapDiv").html(src ? "<img  alt='seatmap' class='img-rounded' id='imgSeatmap' src='../images/" + src + "'>" : "");
    });
    $("#quadrant").change(function () {
        var src = $(this).val();
        //alert(src);
        if (src != "Select One") {
            $("#seatmapDiv").html(src ? "<img  alt='seatmap' class='img-rounded' id='imgSeatmap' src='../images/" + src + "'>" : "");
        }
    });
});